package com.qiqu.service;

import com.qiqu.entity.Comments;
import com.qiqu.utils.PagedResult;

import java.util.List;


public interface CommentsService {

    Comments queryById(String id);

    boolean addComments(Comments comments);

    boolean deleteById(String id);

    Integer totalComments();

    Integer articleComments(String articleId);

    PagedResult getComments(String articleId, Integer page, Integer pageSize);
}